ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.DirectWrite Namespace / FontFace Class / GetDesignGlyphMetrics Method / GetDesignGlyphMetrics(Int16[],Boolean) Method
An array of glyph indices for which to compute metrics. The array must contain at least as many elements as specified by glyphCount.
Indicates whether the font is being used in a sideways run. This can affect the glyph metrics if the font has oblique simulation because sideways oblique simulation differs from non-sideways oblique simulation

In This Topic
    GetDesignGlyphMetrics(Int16[],Boolean) Method
    In This Topic
    Obtains ideal (resolution-independent) glyph metrics in font design units.
    Syntax
    'Declaration
     
    Public Overloads Function GetDesignGlyphMetrics( _
       ByVal glyphIndices() As Short, _
       ByVal isSideways As Boolean _
    ) As GlyphMetrics()
    public GlyphMetrics[] GetDesignGlyphMetrics( 
       short[] glyphIndices,
       bool isSideways
    )

    Parameters

    glyphIndices
    An array of glyph indices for which to compute metrics. The array must contain at least as many elements as specified by glyphCount.
    isSideways
    Indicates whether the font is being used in a sideways run. This can affect the glyph metrics if the font has oblique simulation because sideways oblique simulation differs from non-sideways oblique simulation

    Return Value

    an array of GlyphMetrics structures.
    Remarks
    Design glyph metrics are used for glyph positioning.
    See Also